package com.huluobo.h3kotlindemo.net

/**
 *  Created by LC on 2023/11/2.
 */
class Const {
    companion object {
        const val BASE_URL = "http://10.161.9.80:7012/"
        const val SP_TOKEN = "sp_token"

        const val TOKEN = "token"

        const val URL_LOGIN = "/user/loginjson"

        const val PARAM_USERNAME = "username"

        const val PARAM_PASSWORD = "password"

        const val MEDIA_TYPE = "application/json;charset=utf-8"

        const val PARAM_CURRENT_PAGE = "currentPage"

        const val PARAM_CATEGORY_ID = "category_id"

        const val PARAM_PAGE_SIZE = "pageSize"

        const val URL_GET_HOME_LIST = "/goods/info"

        const val URL_HOME_BANNER = "/banner/json"

        const val PARAM_GOODS_ID = "goods_id"

        const val URL_GET_GOODS_DETAIL = "/goods/detail"

        const val URL_ADD_TO_CART = "/goods/addCar"

        const val PARAM_COUNT = "count"

        const val URL_QUERY_CART = "/goods/selectCar"

        const val URL_DELETE_CART = "/goods/deleteCar"

        const val PARAM_DELETE_CART_IDS = "ids"

        const val URL_CATEGORY = "/goods/category"
    }
}